package com.bluefish.bltuan.dao;

import com.bluefish.bltuan.module.user.AbstractUser;
import com.bluefish.bltuan.module.user.User;

public interface UserDao extends AbstractDao<User, Integer> {

    AbstractUser findByUserId(Integer id);

    User findByUsername(String username);

    User findByEmail(String email);

    User getByEmailAndPasswordl(String email, String password);

    User findByEmailAndActiveCode(String email, String activeCode);
}
